#ifndef BODYDOCUMENT_H
#define BODYDOCUMENT_H

#include <string>
#include "EditorCore/IEntity.h"
#include "EditorCore/Document.h"
#include "Entities/BodyEntity.h"

class BodyDocument : public editor_core::Document
{
public:
	BodyDocument();
	BodyDocument( const std::string& filePath );
	virtual ~BodyDocument();

	virtual void Save( const std::string& filePath ) const;
	virtual inline editor_core::IEntity* GetRootEntity() const { return GetBodyEntity(); }

	inline BodyEntity* GetBodyEntity() const { return m_bodyEntity; }

private:
	BodyEntity* m_bodyEntity;
};

#endif
